import type {RouteRecordRaw} from "vue-router"

import AddressListView from "./AddressList.vue";
import AddressAddView from "./AddressAdd.vue";
import AddressEditView from "./AddressEdit.vue";

let addressRoutes:RouteRecordRaw[] = [{
    path:"/address",
    name:"address",
    redirect:"/address/list",
    children:[{
        path:"/address/list",
        name:"address-list",
        component:AddressListView,
    },{
        path:"add",
        name:"address-add",
        component:AddressAddView,
    },{
        path:"edit",
        name:"address-edit",
        component:AddressEditView,
    }]
}]


export default addressRoutes;